<div class="Item hr">
    <div class="fr"><a href="{:U('index')}" class="btn">友情链接列表</a></div>
    <div class="current">添加友情链接</div>
</div>
<form>
<table width="100%" cellspacing="0" cellpadding="0" class="table1">
  <tr>
    <th style="width:10em;"><label for="webname">网站名称</label></th>
    <td><input name="link[webname]" type="text" id="webname" class="input" size="30" /></td>
  </tr>
  <tr>
    <th style="width:10em;"><label for="url">网站链接</label></th>
    <td><input name="link[url]" type="text" id="url" class="input" size="30" /></td>
  </tr>
  <tr>
    <th style="width:10em;"><label for="url">网站LOGO</label></th>
    <td><input name="link[logo]" type="text" id="logo" class="input" size="40" placeholder="可以是远程地址" /><input type="button" class="btn btn-open" onclick="SelectImage('form1.logo');" value="站内选择"><div class="divpre" id="divpicview"></div></td>
  </tr>
  <tr>
    <th style="width:10em;"><label for="email">站长邮箱</label></th>
    <td><input name="link[email]" type="text" id="email" class="input" size="30" /></td>
  </tr>
  <tr>
    <th style="width:10em;"><label for="description">网站描述</label></th>
    <td><textarea class="jq_watermark" id="description" rows="5" cols="70" name="link[description]"  placeholder="网站描述"></textarea> </td>
  </tr>
  <tr>
    <th style="width:10em;"><label for="sortrank">排序</label></th>
    <td><input name="link[sortrank]" type="text" id="sortrank" class="input" size="30" value="10" /></td>
  </tr>
  <tr>
    <th style="width:10em;"><label for="status">显示</label></th>
    <td><label><input type="radio" name="link[status]" value="1" checked /> 显示</label> <label><input type="radio" name="link[status]" value="0" /> 不显示</label></td>
  </tr>
</table>
<div class="commonBtnArea" >
<button class="btn submit">提交添加</button>
<input type="reset" name="button" value="还原重填" class="btn"/>
</div>
</form>
<include file="Flink/javascript" /> 
<script type="text/javascript">
$(function(){
    submitForm("create");
});
</script> 
